<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Camera Online</title>
    
 	<link href="{{ asset('bundles/frontend/css/dcverticalmegamenu.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/demo.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/style.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/forms.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/grid.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/jplayer.blue.monday.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/jquery.snippet.min.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/prettyPhoto.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/pro_pages_style.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/reset.css') }}" rel="stylesheet" type="text/css" />
    <link href="{{ asset('bundles/frontend/css/jquery-ui.css') }}" rel="stylesheet" type="text/css" />

    <script src="{{ asset('bundles/frontend/js/jquery.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/jquery.min.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/jquery.ui.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/uCarousel.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/json2-min.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/jquery.hoverIntent.minified.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/jquery.dcverticalmegamenu.1.3.js') }}" type="text/javascript"></script>
    <script src="{{ asset('bundles/frontend/js/myJS.js') }}" type="text/javascript"></script>
    <script  type="text/javascript">
        $(function () {
            $('#mega-4').dcVerticalMegaMenu({
                rowItems: '3',
                speed: 'fast',
                effect: 'slide',
                direction: 'right'
            });



            $("#LinkDangNhap").click(function () {
                window.location.href = "DangNhap.aspx?url=" + document.URL;
            });


            $("#Sosanhmayanh").click(function () {

                Openformlogin();

            });
            $("#Sosanhmayquay").click(function () {

                Openformmayquay();

            });

            $("#logout").click(function () {

                $.ajax({
                    type: 'POST',
                    url: "WebService/shoppingcard.asmx/logout",
                    contentType: 'application/json; charset=Shift_JIS',
                    dataType: "json",
                    success: function (data) {

                        var response = JSON.parse(data.d);
                        if (response.retVal == 'false') {
                           

                        }
                        else {

                            window.location.reload();
                        }

                    }
                });

            });

        });

        
    </script>
    
    
    {% block head %}
    {% endblock %}
    
</head>
<body  id="page1">
    <div class="bg">
<!--==============================header=================================-->
    <div id="header">
    	<div class="main">
        	<div class="head-box">
                <h1><a class="logo" href="#">Quick &amp; Profitable</a></h1>
                <div class="head-box1">
                    <div class="inner1-head">
                    	<div class="time"><div id="hours">201 Dương Bá Trạc, P.1, Q.8</div></div>
                    </div>
                    <div class="inner2-head">
                    	<span>Tư vấn :</span>38.211.211
                    </div>
                </div>
                <div class="clear"></div>
            </div>
            <div class="clear"></div>
            <div id="nav">
                <ul class="sf-menu sf-js-enabled">
                    <li id="TrangChu"  class="first active"><a href="{{ path('hui_front_end_homepage') }}">Trang Chủ                                                                                                                                                                                                                                                                                                                                                         </a></li>
                    <li id="MayAnh"><a href="{{ path('hui_front_end_mayanh') }}">Máy Ảnh</a></li>
                    <li id="MayQuay"><a href="{{ path('hui_front_end_mayquay') }}">Máy Quay Phim</a></li>
                    <li id="KhuyenMai"><a href="{{ path('hui_front_end_khuyenmai') }}">Khuyến Mãi</a></li>
                    <li id="aSoSanh"><a id="Sosanh" href="{{ path('hui_front_end_sosanh') }}">So Sánh</a>
                    	<ul>
                            <li><a id="Sosanhmayanh">So sánh máy ảnh</a></li>
                            <li><a id="Sosanhmayquay">So sánh máy quay</a></li>
                           
                        </ul>
                    </li>
                    <li id="PhuKien"><a href="#">Tin tức</a></li>
                    <li id="LienHe" class="last1"><a class="last3" href="{{ path('hui_front_end_lienhe') }}">Liên hệ</a></li>
                </ul>
            </div>
            <div class="clear"></div>
            <div class="head-box2">     
            	 {% render "HuiFrontEndBundle:Frontend:initSearch" %}
                
                {% render "HuiFrontEndBundle:Frontend:initGioHang" %}
                
                <div class="clear"></div>
            </div>
         </div>
    </header>
    
	<!--==============================content================================-->
    <section id="content">
        <div class="main">
            <div class="container_24">
                <div class="clear"></div>
                <div class="wrapper paddingHome">
                	 {% block content %}
                	 {% endblock %}
                </div>
            </div>                
        </div>
    </section>
    
	<!--==============================footer=================================-->

    <div id="footer">
        <div class="main">
	        <div class="foot-page">
	        	<div class="foot-page1">
	            	Camera Online &nbsp;© 2012 <br><a href="#">Liên hệ </a>
	            </div>
	            <div class="foot"></div>
	            <div class="clear"></div>
	        </div>        
        </div>
    </div>
</div>
</div>
</body>
</html>
